package com.ruoyi.order.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 订单列表对象 project_order
 * 
 * @author ljy
 * @date 2025-08-06
 */
public class ProjectOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单编号 */
    private Long orderId;

    /** 下单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderTime;

    /** 所属团长 */
    @Excel(name = "所属团长")
    private String leader;

    /** 下单人 */
    @Excel(name = "下单人")
    private String uname;

    /** 收货人 */
    @Excel(name = "收货人")
    private String username;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 商品数量 */
    @Excel(name = "商品数量")
    private Long orderNum;

    /** 实付金额 */
    @Excel(name = "实付金额")
    private Long price;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private Long status;

    /** 操作 */
    private String operaition;

    /** 订单类型 */
    private String orderType;

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    public void setOrderTime(Date orderTime) 
    {
        this.orderTime = orderTime;
    }

    public Date getOrderTime() 
    {
        return orderTime;
    }

    public void setLeader(String leader) 
    {
        this.leader = leader;
    }

    public String getLeader() 
    {
        return leader;
    }

    public void setUname(String uname) 
    {
        this.uname = uname;
    }

    public String getUname() 
    {
        return uname;
    }

    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }

    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setOperaition(String operaition) 
    {
        this.operaition = operaition;
    }

    public String getOperaition() 
    {
        return operaition;
    }

    public void setOrderType(String orderType) 
    {
        this.orderType = orderType;
    }

    public String getOrderType() 
    {
        return orderType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("orderTime", getOrderTime())
            .append("leader", getLeader())
            .append("uname", getUname())
            .append("username", getUsername())
            .append("phone", getPhone())
            .append("orderNum", getOrderNum())
            .append("price", getPrice())
            .append("status", getStatus())
            .append("operaition", getOperaition())
            .append("orderType", getOrderType())
            .toString();
    }
}
